Former NSA employee sentenced to nearly 22 years in prison