Repeat offender gets 12 years’ preventive detention for molesting 10-year-old