; and (C) in paragraph (5)(A), by inserting before the semicolon at the end the following: except, as determined by the Secretary, when there is a loan modification under subsection (i)(1)(B), the term of the loan shall not exceed 40 years ; and (3) in subsection (j)(5)(B), by inserting after the first sentence the following: There are authorized to be appropriated for those costs such sums as may be necessary for each of fiscal years 2024 through 2034. . 20. Drug elimination program (a) Definitions In this section: (1) Controlled substance The term controlled substance has the meaning given the term in section 102 of the Controlled Substances Act ( 21 U.S.C. 802 ). (2) Drug-related crime The term drug-related crime means the illegal manufacture, sale, distribution, use, or possession with intent to manufacture, sell, distribute, or use a controlled substance. (3) Recipient The term recipient — (A) has the meaning given the term in section 4 of the Native American Housing Assistance and Self-Determination Act of 1996 ( 25 U.S.C. 4103 ); and (B) includes a recipient of funds under title VIII of that Act ( 25 U.S.C. 4221 et seq. ). (4) Secretary The term Secretary means the Secretary of Housing and Urban Development. (b) Establishment The Secretary may make grants under this section to recipients of assistance under the Native American Housing Assistance and Self-Determination Act of 1996 ( 25 U.S.C. 4101 et seq. ) for use in eliminating drug-related and violent crime. (c) Eligible activities Grants under this section may be used for— (1) the employment of security personnel; (2) reimbursement of State, local, Tribal, or Bureau of Indian Affairs law enforcement agencies for additional security and protective services; (3) physical improvements which are specifically designed to enhance security