A high-risk, serial rapist released and then swiftly thrown back behind bars for explicit online searches has little chance of rehabilitation, a judge says.