No parent or legal guardian shall be criminally prosecuted nor civilly liable for failure to comply with the provisions of this part.