; and (2) 25 percent shall be used to make grants under subsection (b)(2). . 3. Transitional housing services (a) In general Section 105(a) of the Housing and Community Development Act of 1974 ( 42 U.S.C. 5305(a) ) is amended— (1) in paragraph (25)(D), by striking and at the end; (2) in paragraph (26), by striking the period at the end and inserting ; and ; and (3) by adding at the end the following: (27) providing temporary housing services to individuals who are transitioning out of substance abuse treatment programs for— (A) a period of not more than 24 months or until the individual secures permanent housing, whichever is earlier; or (B) such longer period as the Secretary determines necessary. . (b) Additional CDBG authorization of appropriations (1) Definition of covered entity In this subsection, the term covered entity means— (A) a State (as defined in section 102(a) of the Housing and Community Development Act of 1974 ( 42 U.S.C. 5302(a) )) that is among the 10 States with the highest rate of death due to drug overdose per 100,000 people, based on data from the Centers for Disease Control and Prevention for calendar years 2013 through 2017