; or (2) the obligations of the United States under the international energy program. (d) National security The Secretary shall ensure that any lease entered into under the program with a foreign government shall not impair national security. (e) Deposits of amounts received (1) In general Except as provided in paragraph (2), amounts received from a lease entered into under the program shall be deposited in the general fund of the Treasury during the fiscal year in which the amounts are received. (2) Payment of costs (A) In general Except as provided in subparagraph (B), the Secretary, without further appropriation, may use amounts received from a lease entered into under the program for the costs described in subsection (b). (B) Exception The Secretary may not use amounts received from a lease entered into under the program for any cost described in subsection (f). (f) Preparation of facilities The Secretary may use amounts available in the Energy Security and Infrastructure Modernization Fund established by section 404 of the Bipartisan Budget Act of 2015 ( 42 U.S.C. 6239 note; Public Law 114–74 ) for costs described in subsection (b) that relate to the addition of a facility or changes to a facility or facility operations necessary to lease the facility, including costs relating to— (1) the acquisition of land; (2) the acquisition of any ancillary facility or equipment; (3) site development