; and (2) the maximum period of detention described in subsection (a) may not exceed 5 days. (c) Notwithstanding subsections (a) and (b), no Federal funds may be obligated to detain an individual who self-identifies as transgender in any facility that is not contractually obligated to meet, at a minimum, the requirements described in Attachment 1 of the June 19, 2015, U.S. Immigration and Customs Enforcement memorandum entitled, “Further Guidance Regarding the Care of Transgender Individuals” unless such individual declines placement in such a facility after being informed of the opportunity to do so. (d) Not later than 30 days after the date of enactment of this Act, the Director shall provide the Committees on Appropriations of the Senate and the House of Representatives the defined metrics used to make such assessments. 220. (a) None of the funds provided under the heading ‘‘U.S. Immigration and Customs Enforcement—Operations and Support” may be used to engage in civil immigration enforcement activities, such as arrests, detentions, removals, or the processing or issuance of charging documents, using Homeland Security Investigations personnel or resources absent probable cause that the individual facing such enforcement action has committed a criminal offense not solely related to migration or immigration status. (b) For purposes of this section, criminal offenses solely related to migration or immigration status include any offense for which penalties may be imposed pursuant to sections 243, 264, 266(a) or (b), 275, or 276 of the Immigration and Nationality Act. 221. No Federal funds may be used for the detention or removal of any alien until there is a final denial of the alien’s application for status after the exhaustion of administrative and judicial review, if such individual— (1) has a pending application under section 101(a)(15)(T), 101(a)(15)(U), 106, 240A(b)(2), or 244(a)(3) (as in effect on March 31, 1997) of the Immigration and Nationality Act