; (2) the prevention of an eviction of such a family; (3) a dispute between the landlord and a tenant who is a member of such a family; or (4) enforcing the legal rights of such a family under Federal, State, or local laws regarding tenancy or fair housing. (f) Use of mortgage interest deduction savings for grants (1) Determination of savings For each of fiscal years 2018 through 2022, the Secretary of the Treasury shall determine the amount of revenues accruing to the general fund of the Treasury by reason of the enactment of the amendment made by section 4 of this Act. (2) Authorization of appropriations There is authorized to be appropriated for grants under this section for each of fiscal years 2018 through 2022 the amount determined under paragraph (1) for such fiscal year. 4. Reduction in limitation on mortgage interest deduction relating to acquisition indebtedness for certain taxpayers (a) Acquisition indebtedness Clause (ii) of section 163(h)(3)(B) of the Internal Revenue Code of 1986 is amended to read as follows: (ii) Limitation The aggregate amount treated as acquisition indebtedness for any period shall not exceed— (I) $1,000,000 in the case of a joint return ($500,000 in the case of a married individual filing a separate return), and (II) the applicable amount in any other case. (iii) Applicable amount For purposes of clause (ii)(II), the applicable amount is as follows: For taxable years— The applicable amount is— Beginning in calendar year 2018 $900,000 Beginning in calendar year 2019 $800,000 Beginning in calendar year 2020 $700,000 Beginning in calendar year 2021 $600,000 Beginning in or after calendar year 2022 $500,000. . (b) Effective date The amendment made by subsection (a) shall apply to amounts paid or incurred after December 31, 2017.