; unique farmland The terms prime farmland and unique farmland have the meaning given such terms in part 657 of title 7, Code of Federal Regulations. . (4) Qualified solar and wind facility Section 48(e)(2)(A) of such Code is amended— (A) in clause (ii), by striking and at the end, (B) in clause (iii), by striking the period at the end and inserting , and , and (C) by adding at the end the following new clause: (iv) which, in the case of a facility used for generating solar energy, is not located on prime farmland or unique farmland. . (b) Clean electricity production credit Section 45Y(b)(1) is amended— (1) in subparagraph (A), by striking subparagraphs (B), (C), and (D), and inserting subparagraphs (B), (C), (D), and (E) , and (2) by adding at the end the following new subparagraph: (E) Prime farmland and unique farmland excluded The term qualified facility shall not include any facility used for generating solar energy if such facility is located on prime farmland or unique farmland (as such terms are defined in section 48(c)(9)). . (c) Effective date The amendments made by this section shall apply to property placed in service after the date of the enactment of this Act.