Yes, that is true for object orient programming but in functional programming has immutable data types which cab go a long way. There are also safe guards that can be programmed.
Remember, I said we can verify the data with another program that would make the phone calls to verify that the actual phone number actually made that vote.
All these things take a little time, patience, ingenuity, and money.