While you may not have known the materials you were viewing or sharing were individuals under 18, this fact will probably not help your case much. Do tell your defense lawyer about these details, though, as they could have some factor in the case.