; and (B) for States for which allocations were made pursuant to section 3403(b) for such previous year, to be used by the Administrator for such States, to carry out the purpose described in section 3402(2) in such State by providing payments to appropriate entities described in such section 3402(2) with respect to claims that exceed $1,000,000, with, respect to a year before 2022, any remaining funds being made available for allocations to States for the subsequent year. (d) Availability Amounts appropriated under subsection (a) for a year and allocated to States in accordance with this section shall remain available for expenditure through December 31, 2022. (e) Limitation Amounts appropriated under subsection (a) for a year (beginning with 2019 and ending with 2021) are subject to the requirements and limitations under sections 506 and 507 of division H of Public Law 115–31 in the same manner and to the same extent as if such amounts for such year were appropriated under such division. . (b) Cost-Sharing reduction payments Section 1402 of the Patient Protection and Affordable Care Act ( 42 U.S.C. 18071 ) is amended by adding at the end the following new subsection: (g) Funding (1) Appropriations There is appropriated, from any money in the Treasury not otherwise appropriated, such sums as may be necessary to, subject to paragraph (2), provide health benefits coverage through payment to issuers (under this section or through advance payment by the Secretary of the Treasury under section 1412(c)(3)) of the amounts computed under this section for the last quarter of plan year 2017 and each of plan years 2019 and 2020. (2) Adjustments Notwithstanding any other provision of law, payments and other actions for adjustments to obligations incurred prior to December 31, 2020, may be made through December 31, 2021. (3) Limitation Amounts appropriated under paragraph (1) for the last quarter of plan year 2017 and each of plan years 2019 and 2020 are subject to the requirements and limitations under sections 506 and 507