I reject your premise that the outcome of voting is less dangerous than dropping FOID requirements in places with no ID required to vote, and reject that it is actually reversible (can't undo all the dead school girls in Iran).
But lets accept your premise as true.
You're proposing something like rank-stacking the risk of various rights of citizens and people and if they're high enough on the stack it's OK to to ID and if they're lower maybe it's not OK. That seems to move the goalpost quite a bit from your prior argument.
Consequences of errors with guns are higher than with voting, because elections are audited and mistakes and fraud are found and reversed.
You cannot helpfully audit misuse of guns, after the fact.