It is a complete defense to a prosecution for a violation of §§ 22-19-9 and 22-19-10 that the person having lawful custody or right of visitation failed to report the offense to law enforcement authorities within ninety days of the offense.
SDCL 22-19-11