A registered social service provider is taken to perform a duty or satisfy an obligation under this Act or the regulations if—
(a) a compliance code provides for how a registered social service provider performs the duty or satisfies the obligation; and
(b) the registered social service provider complies with the compliance code to the extent that the compliance code provides for performing the duty or satisfying the obligation.