; and (B) in paragraph (3)— (i) in subparagraph (A), in the matter preceding clause (i), by inserting after a year the following: (before 2021) ; and (ii) in subparagraph (B)(iii), by striking a subsequent year and inserting each of fiscal years 2008 through 2020 . (2) Territory defined Section 1935 of the Social Security Act ( 42 U.S.C. 1396u–5 ) is amended by adding at the end the following new subsection: (f) Territory defined In this section, the term territory means Puerto Rico, the Virgin Islands, Guam, the Northern Mariana Islands, and American Samoa. .