; and (B) in paragraph (4)— (i) by striking (defining the terms full-time elementary or secondary school student and elementary or secondary school ) ; (ii) by striking nineteen and inserting 22 ; (iii) by striking full-time elementary or secondary school student and inserting full-time student at an educational institution ; (iv) by striking subparagraph (A) of paragraph (7) of section 202(d) of the Social Security Act and without the application of subparagraph (B) and inserting subparagraph (E) of section 202(d)(7) of the Social Security Act, without regard to subparagraph (F) of such section ; (v) by striking a diploma or equivalent certificate from a secondary school (as defined in section 202(d)(7)(c)(i) of the Social Security Act) and inserting a diploma, degree, or equivalent certificate from a secondary school or educational institution described in section 202(d)(7)(E) of the Social Security Act ; and (vi) by striking elementary or secondary school in which he is enrolled and inserting school or institution in which the child is enrolled . (2) Section 5(c)(7) of the Railroad Retirement Act of 1974 ( 45 U.S.C. 235(c)(7) ) is amended— (A) by striking full-time elementary or secondary school student and inserting full-time student at an educational institution