means any individual whose principal place of abode on October 8, 2017, is located in the California wildfire disaster area and who has sustained an economic loss by reason of wildfires to which the declaration of such area relates. (d) Provisions relating to plan amendments (1) In general If this subsection applies to any amendment to any plan or annuity contract, such plan or contract shall be treated as being operated in accordance with the terms of the plan during the period described in paragraph (2)(B)(i). (2) Amendments to which subsection applies (A) In general This subsection shall apply to any amendment to any plan or annuity contract which is made— (i) pursuant to any provision of this section, or pursuant to any regulation issued by the Secretary or the Secretary of Labor under any provision of this section, and (ii) on or before the last day of the first plan year beginning on or after January 1, 2019, or such later date as the Secretary may prescribe. In the case of a governmental plan (as defined in section 414(d) of the Internal Revenue Code of 1986), clause (ii) shall be applied by substituting the date which is 2 years after the date otherwise applied under clause (ii). (B) Conditions This subsection shall not apply to any amendment unless— (i) during the period— (I) beginning on the date that this section or the regulation described in subparagraph (A)(i) takes effect (or in the case of a plan or contract amendment not required by this section or such regulation, the effective date specified by the plan), and (II) ending on the date described in subparagraph (A)(ii) (or, if earlier, the date the plan or contract amendment is adopted), the plan or contract is operated as if such plan or contract amendment were in effect, and (ii) such plan or contract amendment applies retroactively for such period. 4. Employee retention credit for employers affected by California wildfires (a) In general For purposes of section 38 of the Internal Revenue Code of 1986, in the case of an eligible employer, the