In the case of any divorced wife who marries—
(A) an individual entitled to benefits under subsection (c), (f), (g), or (h) of this section, or
(B) an individual who has attained the age of 18 and is entitled to benefits under subsection (d),
such divorced wife’s entitlement to benefits under this subsection shall, notwithstanding the provisions of paragraph (1) (but subject to subsection (s)), not be terminated by reason of such marriage.