An affidavit of support is not enforceable after such time as the alien (i) has worked 40 qualifying quarters of coverage as defined under title II of the Social Security Act [
42 U.S.C.
401 et seq.] or can be credited with such qualifying quarters as provided under subparagraph (B), and (ii) in the case of any such qualifying quarter creditable for any period beginning after December 31, 1996, did not receive any Federal means-tested public benefit (as provided under section
1613 of this title) during any such period.