You are not hearing me.
If convicted of a crime with a mandatory minimum sentence, the most leniency a judge can give you is that minimum... in this case, 10 years in a state prison.
Your only hope is to either prove yourself innocent of this charge (not likely in your case since you went ahead and confessed) or to plea bargain down to another charge that doesn't carry this mandatory sentence.
However, you are lucky enough to have been caught with child pornography during an election year.
Oh, and I would go ahead and forget about the "just wanted to see girls my own age" defense in court. Judges don't really care WHY you wanted to see child pornography and this would, once again, act as an admission of guilt... that you were actively LOOKING for pictures of children and didn't just stumble across them.

