Nothing contained in this chapter or in any rule or regulation issued by the commission shall be interpreted as requiring any employer, employment agency or labor organization to grant preferential treatment to any individual or to any group because of the race, color, religious creed, national origin, sex, gender identity, sexual orientation, which shall not include persons whose sexual orientation involves minor children as the sex object, age, genetic information or ancestry of such individual or group because of imbalance which may exist between the total number or percentage of persons employed by any employer, referred or classified for employment by any employment agency or labor organization, admitted to membership or classified by any labor organization or admitted to or employed in, any apprenticeship or other training program, and the total number or percentage of persons of such race, color, religious creed, national origin, sex, gender identity, sexual orientation, which shall not include persons whose sexual orientation involves minor children as the sex object, age, genetic information or ancestry in the commonwealth or in any community, section or other area therein, or in the available work force in the commonwealth or in any of its political subdivisions.
19. (a) It shall be unlawful discrimination for any employer, employment agency, labor organization, or licensing agency to
(1) refuse to hire or employ, represent, grant membership to, or license a person on the basis of that person's genetic information;
(2) collect, solicit or require disclosure of genetic information from any person as a condition of employment, or membership, or of obtaining a license;