Is it mandatory for a person to disclose the secrets that they learn about through their position, unless it would prevent a crime from happening?
Yes, disclosing the secrets that come to their knowledge ex officio is mandatory, except if doing so would prevent the commission of a crime.