; or (E) subjecting any child in the legal custody of the State to any practice or treatment that seeks to change the child’s sexual orientation or gender identity. It shall be lawful for a professional counselor licensed by the State to assist a minor, without regard to sexual orientation or gender identity, to prevent or address unlawful conduct or unsafe sexual practices. (c) Indirect funding of adoption and foster care services (1) Establishment of indirect funding program The Department of Health and Human Services, the Social Security Administration, the Department of State, and any other agency authorized by Federal law to administer Federal financial assistance for the support of adoption and foster care services shall issue final rules within two years of the enactment of this Act to create an indirect funding program that delivers Federal financial assistance to eligible prospective parents for the purpose of obtaining such services through a qualified private agency that they select. (A) This indirect funding program will entitle a qualified State resident to receive a certificate to assist with the costs of a personal assessment, background check, home study, endorsement, certification of a person’s eligibility to act as the guardian of a child in foster care or as the parent of a child available for adoption, and placement of a child with an eligible individual or family. (B) A substantial proportion of appropriated Federal financial assistance for adoption or foster care services, including assistance available under part B and part E of title IV of the Social Security Act, shall be allocated to fund the indirect funding program through the issuance of a certificate to eligible prospective parents. (C) Each certificate shall be worth an amount to be determined through agency rulemaking, but in no event less than $3,000 as indexed to the Consumer Price Index as of January 1, 2019. (D) Participation in this indirect funding program may not be delayed or denied because of a State resident’s race,