In the case of a child who has attained the age of eighteen and who marries—
(A) an individual entitled to benefits under subsection (a), (b), (c), (e), (f), (g), or (h) of this section or under section 423(a) of this title , or
(B) another individual who has attained the age of eighteen and is entitled to benefits under this subsection,
such child’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.