I'm not sure that the states have any power here. If there's a federal law legalizing it, it doesn't matter what the state laws are. It's basically the reverse of the medical/legal marijuana scenario.
Marriage as a concept has always been left to the states.
The NSA is by statute international in scope (they are defined as signals intelligence pertaining to foreign nations), and that has always been left to the Federal government exclusively. The individual states don't even have a dream here.