Not exactly. You are probably referring to the Genetic Information Nondiscrimination Act of 2008 (GINA). It protects US persons against employment and medical insurance discrimination based on genetics but doesn't apply to other types of insurance such as life insurance.
https://en.wikipedia.org/wiki/Genetic_Information_Nondiscrim...