This law does not compel anyone to spy. It does say that priests, like teachers and psychologists, have a duty to report if they have "reasonable cause to believe that a child has suffered abuse or neglect."
I see arguments on both sides of this but it's not compelling priests to spy. It's removing religious freedom protections from a long-standing precedent.