; and (2) may not receive payments for more than 7 fiscal years. (d) Order of payment The date of submission of an eligible local government entity’s application for assistance shall establish the order in which assistance is paid to program applicants, except that in no event shall assistance be paid to an eligible local government entity until such time that an electric generating facility has been closed. For purposes of this section, any local governmental entity seeking assistance under the electric generating facility cessation mitigation fund must submit an affidavit to the Secretary that a facility is no longer producing electricity. (e) Determination of payment amount After receipt of such an affidavit under subsection (d), the Secretary shall confirm such information. In the case that the facility and its solely associated mine is no longer producing electricity and contributing to or participating in electricity markets it shall be deemed that the electric generating facility located within the local government entity has ceased operation. The determination of the amount of such annual payment shall be determined by the Secretary on the amount of the differential between the annual real property taxes, royalty or lease payments, transaction privilege taxes and sales taxes, or payments in lieu of taxes imposed upon the facility, exclusive of interest and penalties, during the most recent year of operations and the current real property taxes and payments in lieu of taxes imposed upon the facility, exclusive of interest and penalties. IV Significantly Impacted Federal Community Economic Adjustment Program 401. Function of the Secretary (a) In general The Secretary, acting through the Economic Adjustment Committee established under this title, shall design and establish a Significantly Impacted Federal Community Economic Adjustment Program to assist substantially and seriously affected communities, businesses, and workers from the effects of major federally owned, in part or whole, energy infrastructure