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