(a) The Attorney General, the Secretary of Health and Human Services, the Secretary of Housing and Urban Development, and the Secretary of Transportation shall take immediate steps to assess their discretionary grant programs and determine whether priority for those grants may be given to grantees in States and municipalities that actively meet the below criteria, to the maximum extent permitted by law:
(i) enforce prohibitions on open illicit drug use;
(ii) enforce prohibitions on urban camping and loitering;
(iii) enforce prohibitions on urban squatting;
(iv) enforce, and where necessary, adopt, standards that address individuals who are a danger to themselves or others and suffer from serious mental illness or substance use disorder, or who are living on the streets and cannot care for themselves, through assisted outpatient treatment or by moving them into treatment centers or other appropriate facilities via civil commitment or other available means, to the maximum extent permitted by law; or
(v) substantially implement and comply with, to the extent required, the registration and notification obligations of the Sex Offender Registry and Notification Act, particularly in the case of registered sex offenders with no fixed address, including by adequately mapping and checking the location of homeless sex offenders.
(b) The Attorney General shall:
(i) ensure that homeless individuals arrested for Federal crimes are evaluated, consistent with 18 U.S.C. 4248, to determine whether they are sexually dangerous persons and certified accordingly for civil commitment;
(ii) take all necessary steps to ensure the availability of funds under the Emergency Federal Law Enforcement Assistance program to support, as consistent with 34 U.S.C. 50101 et seq., encampment removal efforts in areas for which public safety is at risk and State and local resources are inadequate;
(iii) assess Federal resources to determine whether they may be directed toward ensuring, to the extent permitted by law, that detainees with serious mental illness are not released into the public because of a lack of forensic bed capacity at appropriate local, State, and Federal jails or hospitals; and
(iv) enhance requirements that prisons and residential reentry centers that are under the authority of the Attorney General or receive funding from the Attorney General require in-custody housing release plans and, to the maximum extent practicable, require individuals to comply.