The Catholic Church has issued a warning to its clergy in Washington state: Any priest who complies with a new law requiring the reporting of child abuse confessions to authorities will be excommunicated.
https://www.newsweek.com/catholic-church-excommunicate-priests-following-new-us-state-law-2069039
Small correction, a lawyer is only obligated if they believe there is a specific ongoing risk. It’s the difference between saying you committed a crime in the past and saying that you are going to commit one in future.