heading, and (2) by striking State housing credit agency and inserting housing credit agency . (c) Effective date The amendments made by this section shall apply to buildings described in section 42(h)(4)(B) of the Internal Revenue Code of 1986 which are financed by obligations which are part of an issue the issue date of which is after December 31, 2023. 309. Elimination of basis reduction for low-income housing properties energy efficient commercial building deduction (a) Energy efficient commercial buildings deduction Subsection (e) of section 179D of the Internal Revenue Code of 1986 is amended— (1) by striking reduction .—For purposes and inserting “ reduction .— (1) In general For purposes , and (2) by adding at the end the following new paragraph: (2) Exception for affordable housing properties Paragraph (1) shall not apply for purposes of determining eligible basis under section 42. . (b) Effective date The amendments made by this section shall apply to buildings which receive allocations of housing credit dollar amount after the date of the enactment of this Act or, in the case of buildings financed as described in section 42(h)(4)(B) of the Internal Revenue Code of 1986, to buildings financed by obligations which are part of an issue the issue date of which is after December 31, 2023. 310. Restriction of planned foreclosures (a) In general Subclause (I) of section 42(h)(6)(E)(i) of the Internal Revenue Code of 1986 is amended to read as follows: (I) on the 61st day after the taxpayer (or a successor in interest) provides notice to the Secretary and the housing credit agency that the building has been acquired by foreclosure (or instrument in lieu of foreclosure) and that the taxpayer intends the termination of such period, unless, before such date, the Secretary or the housing credit agency determines that such acquisition is part of an arrangement with the taxpayer a purpose of which is to terminate such period, or . (b) Conforming amendment The second sentence of clause (i) of section 42(h)(6)(E) of