; by (ii) the share for each State, which shall be equal to the proportion that— (I) the amount of apportionments that the State received for fiscal year 2020; bears to (II) the amount of those apportionments received by all States for fiscal year 2020. (B) Adjustments to amounts The initial amounts resulting from the calculation under subparagraph (A) shall be adjusted to ensure that each State receives an aggregate apportionment equal to at least 95 percent of the estimated tax payments attributable to highway users in the State paid into the Highway Trust Fund (other than the Mass Transit Account) in the most recent fiscal year for which data are available. (2) State apportionment On October 1 of fiscal years 2022 through 2025, the Secretary shall apportion the sums authorized to be appropriated for expenditure on the covered programs in accordance with paragraph (1). ; (3) in subsection (d)(1)(A)— (A) in clause (i) by striking paragraphs (5)(D) and (6) of subsection (b) and inserting subsection (b)(6) ; and (B) in clause (ii) by striking paragraphs (5)(D) and (6) of subsection (b) and inserting subsection (b)(6) ; and (4) by striking subsections (h) and (i) and inserting the following: (h) Definition of covered programs In this section, the term covered programs means— (1) the national highway performance program under section 119; (2) the surface transportation program under section 133; (3) the highway safety improvement program under section 148; (4) the congestion mitigation and air quality improvement program under section 149; (5) the national highway freight program under section 167; (6) metropolitan planning under section 134; (7) the railway crossings program under section 130(e); (8) the predisaster mitigation program under section 124; and (9) the carbon pollution reduction program under section 171. . (b) Federal share payable Section 120(c)(3) of title 23, United States Code, is amended— (1) in subparagraph (A) by striking (5)(D),