; or (B) establish the research centers required under section 4(a) of the MRRRI Act . (4) Cost share (A) In general Except as provided in subparagraph (B), the Federal share of the cost of a project or activity carried out by a non-Federal entity under this section shall not exceed 80 percent of the total cost of the project or activity. (B) Exception The Federal share of the cost of a project or activity carried out by a Tribal government or Tribal organization under this section, and the Federal share of the cost of a project or activity described in subsection (c)(5)(B)(xi) carried by a non-Federal entity, shall be 100 percent of the total cost of the project or activity. (C) In kind contribution The non-Federal share of the cost of a project or activity carried out under this section may include the value of an in-kind contribution provided by a non-Federal entity. (5) Limitations No funds made available to carry out this section may be used for any water infrastructure activity for which financial assistance is received under— (A) a State water pollution control revolving fund established under section 603; (B) a State drinking water treatment revolving loan fund established under section 1452 of the Safe Drinking Water Act ( 42 U.S.C. 300j–12 ); or (C) the Water Infrastructure Finance and Innovation Act of 2014 ( 33 U.S.C. 3901 et seq. ). (6) Rule of construction Nothing in this section may be construed to waive any requirement under any applicable Federal environmental law, including— (A) this Act; (B) the National Environmental Policy Act ( 42 U.S.C. 4321 et seq. ); (C) the Endangered Species Act ( 16 U.S.C. 1531 et seq. ); or (D) the Fish and Wildlife Coordination Act of 1934 ( 16 U.S.C. 662 et seq. ). (f) Set-Aside (1) In general Of the total amount of funds made available to carry out the MRRRI under this section for each fiscal year— (A) not less than 25 percent shall be used for projects or activities that carry out actions described in subsection (c)(5)(B)(xi)