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
If they only ask Catholics that sounds like it also infringes freedom of religion first amendment rights. They either have to ask every perp which church/temple/mosque/etc they go to and if they ever told a clergy member or none of the perps.
Aiding child abuse isnt a first amendment right. You are only allowed freedom to practice religion and the government can’t force you to practice anything else. Confession isn’t protected by this.
This is wildly outside of the mainstream interpretation of the first amendment. Whether the law would be upheld by the court is basically a toss up.