In determining whether two individuals are husband and wife for purposes of this subchapter, appropriate State law shall be applied; except that—
(1)
(1)#
if a man and woman have been determined to be husband and wife under section 416(h)(1) of this title for purposes of subchapter II they shall be considered (from and after the date of such determination or the date of their application for benefits under this subchapter, whichever is later) to be husband and wife for purposes of this subchapter, or
(2)#
if a man and woman are found to be holding themselves out to the community in which they reside as husband and wife, they shall be so considered for purposes of this subchapter notwithstanding any other provision of this section.