; (2) by inserting after subsection (e) the following: (f) The terms gender identity , sex , and sexual orientation have the meanings given those terms in section 1101(a) of the Civil Rights Act of 1964. (g) The term race , color , religion , national origin , sex , sexual orientation , gender identity , marital status , or age , used with respect to an individual, includes— (1) the race, color, religion, national origin, sex, sexual orientation, gender identity, marital status, or age, respectively, of another person with whom the individual is associated or has been associated; and (2) a perception or belief, even if inaccurate, concerning the race, color, religion, national origin, sex, sexual orientation, gender identity, marital status, or age, respectively, of the individual. ; and (3) by adding at the end the following: (j) Sections 1101(b) and 1106 of the Civil Rights Act of 1964 shall apply to this title, except that for purposes of that application— (1) a reference in those sections to a covered title shall be considered a reference to this title ; and (2) paragraph (1) of such section 1101(b) shall apply with respect to all aspects of a credit transaction. . (c) Relation to State laws Section 705(a) of the Equal Credit Opportunity Act ( 15 U.S.C. 1691d(a) ) is amended by inserting , sexual orientation, gender identity, after sex . (d) Civil liability Section 706 of the Equal Credit Opportunity Act ( 15 U.S.C. 1691e ) is amended by adding at the end the following: (l) Section 1107 of the Civil Rights Act of 1964 shall apply to this title, except that for purposes of that application, a reference in that section to a covered title shall be considered a reference to this title . . 12. Juries (a) In general Chapter 121 of title 28, United States Code, is amended— (1) in section 1862, by inserting sexual orientation, gender identity, after sex, ; (2) in section 1867(e), in the second sentence, by inserting sexual orientation, gender identity, after sex,