Prosecutors alleged the pair misrepresented their identities by giving election judges the names of other people.