; or (ii) a project for which the Secretary approved a guarantee. . (2) Specific appropriation or contribution Section 1702 of the Energy Policy Act of 2005 ( 42 U.S.C. 16512 ) is amended by striking subsection (b) and inserting the following: (b) Specific appropriation or contribution (1) In general No guarantee shall be made unless sufficient amounts to account for the cost are available— (A) in unobligated balances within the Clean Energy Investment Fund established under section 105(a) of the Clean Energy Innovation and Deployment Act of 2020 ; (B) as a payment from the borrower and the payment is deposited in the Clean Energy Investment Fund; or (C) in any combination of balances and payments described in subparagraphs (A) and (B), respectively. (2) Limitation The source of payments received from a borrower under paragraph (1)(B) shall not be a loan or other debt obligation that is made or guaranteed by the Federal Government. (3) Relation to other laws Section 504(b) of the Federal Credit Reform Act of 1990 ( 2 U.S.C. 661c(b) ) shall not apply to a guarantee under this section. . (3) Subrogation Section 1702(g)(2) of the Energy Policy Act of 2005 ( 42 U.S.C. 16512(g)(2) ) is amended by striking subparagraphs (B) and (C) and inserting the following: (B) Superiority of rights Except as provided in subparagraph (C), the rights of the Secretary, with respect to any property acquired pursuant to a guarantee or related agreements, shall be superior to the rights of any other person with respect to the property. (C) Terms and conditions A guarantee agreement shall include such detailed terms and conditions as the Secretary determines appropriate to— (i) protect the interests of the United States in the case of default; (ii) have available all the patents and technology necessary for any person selected, including the Secretary, to complete and operate the project