; and (B) by striking and reserved for the program under subsection (c) . (f) Critical conservation areas Section 1271F(b)(1)(C) of the Food Security Act of 1985 ( 16 U.S.C. 3871f(b)(1)(C) ) is amended by inserting enhancing the quality of surface water and groundwater used to supply drinking water by community water systems (as defined in the Safe Drinking Water Act) and domestic wells, after sediment control, . (g) Effective date The amendments made by this section shall apply with respect to partnership agreements entered into on or after October 1, 2018. E Establishing Innovative Grants for Conservation and Loans for Structural Improvements 241. Repeal and reestablishment of EQIP conservation innovation grant program (a) Conservation innovation grants and payments (1) Repeal Section 1240H of the Food Security Act of 1985 ( 16 U.S.C. 3839aa–8 ) is repealed. (2) Transitional provisions (A) Effect on existing contracts The amendment made by this subsection shall not affect the validity or terms of any contract entered into by the Secretary of Agriculture under section 1240H of the Food Security Act of 1985 ( 16 U.S.C. 3839aa–8 ) before October 1, 2018, or any payments required to be made in connection with the contract. (B) Funding The Secretary may use funds made available to carry out conservation innovation grants and payments under section 1240S of title XII of the Food Security Act of 1985, as added by subsection (b) of this section, to continue to carry out contracts referred to in subparagraph (A) using the provisions of law and regulation applicable to such contracts as they existed on September 30, 2018. (b) Conservation innovation grant program Chapter 5 of subtitle D of title XII of the Food Security Act of 1985 ( 16 U.S.C. 3839bb et seq.) is amended by adding at the end the following new section: 1240S. Conservation innovation grant program (a) Competitive grants for innovative conservation approaches The Secretary shall, for each of fiscal years 2019 through 2023, carry out a conservation innovation