; and (B) in paragraph (3), by inserting and to enable the creation or preservation of long-term affordable housing units around the existing eligible facility after facility ; (3) in subsection (c)(2)— (A) in subparagraph (A)— (i) in clause (vii), by striking and at the end; (ii) in clause (viii), by adding and after the semicolon at the end; and (iii) by adding after clause (viii) the following: (ix) the impact of the removal, retrofit, or mitigation of the eligible facility on the supply of affordable rental and owner-occupied housing in the surrounding area; ; (B) in subparagraph (B), by striking and at the end; (C) redesignating subparagraph (C) as subparagraph (D); and (D) by inserting after subparagraph (B) the following: (C) housing planning activities required in advance of a project to remove, retrofit, or mitigate an existing eligible facility in order to preserve affordable housing around the existing eligible facility, including— (i) the incorporation of long-term affordability into such a project or the surrounding area through new or existing— (I) community land trusts; (II) other shared equity homeownership programs that— (aa) have income requirements; (bb) require a resale formula that limits the price for which the property may be resold; and (cc) are managed by a nonprofit affordable housing organization or developer; (III) resident-owned communities, including manufactured housing communities; (IV) housing cooperatives; (V) Tribal entities; or (VI) rental housing that will remain affordable for a period of not less than 30 years; (ii) planning related to the use or purchase of property around the existing eligible facility by a community land trust, nonprofit organization or developer, municipality, or land bank for the purpose of creating affordable housing; and (iii) planning related to the implementation of a land value tax or a tax increment financing district for the purpose of funding affordable housing; and