Uh...once they have the swab, they have the dna.
Regardless of their stated purpose for taking it.
Not mentioned is whether they got your name, etc.
The car has a license plate. Just capture that number and look it up in the state's database.
Which is why you politely resist, stand on your constitutional rights, and don't give them the swab.