It is unlawful for any state agency or local public body employee or former employee knowingly to use confidential information for actual or anticipated personal gain or for the actual or anticipated personal gain of any other person.