An officer may not be removed under this subchapter for an act the officer committed before election to office if the act was a matter of public record or otherwise known to the voters.