and distressed areas resulting from an emergency declaration relating to earthquakes that occurred in 2020 or a declaration of a major disaster that occurred in 2020 pursuant to the Robert T. Stafford Disaster Relief and Emergency Assistance Act ( 42 U.S.C. 5121 et seq.): Provided , That funds shall be awarded directly to the State, unit of general local government, or Indian tribe (as such term is defined in section 102 of the Housing and Community Development Act of 1974) at the discretion of the Secretary: Provided further , That in determining the amount allocated under this heading for any grantee, the Secretary shall include an additional amount for mitigation that is not less than 45 percent of the amount allocated for such grantee for unmet needs: Provided further , That the Secretary shall allocate for grantees, based on the best available data, funds provided for assistance under this heading no later than 60 days after the date the disaster occurs, or the date of enactment of this Act, whichever is later: Provided further , That the Secretary may extend the deadline in the preceding proviso by an additional 30 days if the Secretary jointly certifies with the Administrator of the Federal Emergency Management Agency for each such extension, that the Federal Emergency Management Agency has not made sufficient information available to the Secretary regarding relevant unmet recovery needs to make allocations in accordance with such deadlines: Provided further , That not later than 5 days after making any such certification, the Secretary shall transmit to the Committees on Appropriations of the House of Representatives and the Senate, and publish in the Federal Register such certification: Provided further , That not later than 90 days after the allocation of funds made to a grantee under this heading and before the Secretary obligates any of such funds for a grantee, the grantee shall submit a plan to the Secretary for approval detailing the proposed use of all funds, including criteria for eligibility