A judge or prosecuting attorney who fails to make a report when required by this chapter is immune from criminal and civil liability under this chapter.