(V) the following: (VI) new qualified plug-in electric drive motor vehicles (as defined by section 30D) or components which are designed specifically for use with such vehicles, including electric motors, generators, and power control units, or , and (I) by redesignating subclause (IX) as subclause (VII), and inserting , and at the end of such subclause, and (3) by striking clauses (ii) and (iii) and inserting the following: (ii) any portion of the qualified investment of which is certified by the Secretary under subsection (d) as eligible for a credit under this section. . (c) Conforming amendment Subparagraph (A) of section 48C(c)(2) is amended to read as follows: (A) which is necessary for the production of property described in paragraph (1)(A)(i), . (d) Denial of double benefit Section 48C(e), as redesignated by this section, is amended by striking 48B, 48E, 45Q, or 45V and inserting or 48B . (e) Effective date The amendments made by this section shall take effect on January 1, 2023. 237. Repeal of advanced manufacturing production credit (a) In general Subpart D of part IV of subchapter A of chapter 1 is amended by striking section 45X (and by striking the item relating to such section in the table of sections for such subpart). (b) Conforming amendment Section 38(b) is amended by striking paragraph (38). (c) Effective date The amendments made by this section shall apply to components produced and sold after December 31, 2022. 238. Repeal of clean electricity production credit (a) In general Subpart D of part IV of subchapter A of chapter 1 is amended by striking section 45Y (and by striking the item relating to such section in the table of sections for such subpart). (b) Conforming amendment Section 38(b) is amended by striking paragraph (39). (c) Effective date The amendments made by this section shall apply to facilities placed in service after December 31, 2024. 239. Repeal of clean electricity investment credit (a) In general Subpart E of part IV of subchapter A of chapter 1 is amended by striking