US resident gets 10-year Iran prison sentence