Community Planning and Development community development fund (including transfers of funds) For an additional amount for Community Development Fund , $2,210,000,000, to remain available until expended, for necessary expenses for activities authorized under title I of the Housing and Community Development Act of 1974 ( 42 U.S.C. 5301 et seq.) related to disaster relief, long-term recovery, restoration of infrastructure and housing, economic revitalization, and mitigation in the most impacted and distressed areas resulting from a major disaster that occurred in 2018 or 2019 (except as otherwise provided under this heading) 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 of the amounts made available under this heading $150,000,000 shall be allocated to meet unmet needs for restoration of infrastructure for grantees that received allocations for disasters that occurred in 2017 (excluding grantees that received allocations related to disasters specified in section 501(a) of title V of this Act) under this heading of division B of Public Law 115–56 and title XI of subdivision 1 of division B of Public Law 115–123 : Provided further , That of the amounts provided in the previous proviso, the Secretary’s determination of unmet needs for restoration of infrastructure shall not take into account mitigation-specific allocations: Provided further , That any funds made available under this heading and under the same heading in Public Law 115–254 that remain available, after the funds under such headings have been allocated for necessary expenses for activities authorized under such headings, shall be allocated to grantees receiving awards for disasters that occurred in 2018 or 2019, for mitigation