; and (B) by inserting after subsection (f) the following: (g) Motivating factor On a claim in which an individual demonstrates that genetic information was a motivating factor for any employment practice, under section 202(e)(1), including a claim involving an employee or applicant described in any of subsections (a) through (e), and a respondent demonstrates that the respondent would have taken the same action in the absence of the impermissible motivating factor, the court or the corresponding decisionmaker specified in subsections (a) through (e)— (1) may grant declaratory relief, injunctive relief (except as provided in paragraph (2)), and attorney’s fees and costs demonstrated to be directly attributable only to the pursuit of a claim under section 202(d)(1); and (2) shall not award damages or issue an order requiring any admission, reinstatement, hiring, promotion, or payment. . (e) Federal employees (1) Title VII of the Civil Rights Act of 1964 Section 717 of the Civil Rights Act of 1964 ( 42 U.S.C. 2000e–16 ) is amended by adding at the end the following: (g) Sections 703(m) and 706(g)(2)(B) shall apply to mixed motive cases (involving practices described in section 703(m)) under this section. . (2) Rehabilitation Act of 1973 The amendment made by subsection (f) to section 501(f) of the Rehabilitation Act of 1973 ( 29 U.S.C. 791(f) ) shall be construed to apply to all employees covered by section 501 of that Act ( 29 U.S.C. 791 ). (3) Age Discrimination in Employment Act of 1967 Section 15 of the Age Discrimination in Employment Act of 1967 ( 29 U.S.C. 633a ) is amended— (A) in subsection (a)— (i) by striking States) in and inserting States) shall be made free from any discrimination based on age, in— ; (ii) by striking military departments and inserting the following: (1) military departments ; (iii) by striking Code, in executive agencies and inserting the following: “Code; (2) executive agencies ; (iv) by striking funds), in the United States Postal and inserting the following: “funds)