DCP,
This is a "take your medicine" shot. You're not always going to be able to get perfect position on your next ball. Sometimes what you need to do is just cinch the ball you're on, and "take your medicine" on the next shot. For me, if they really are both frozen, the only way to make the 5-ball is a stop-shot (which at this distance means at least a tip of low) with a touch of left, relying on the squirt (right) and swerve (left) to bring me to the right spot to sink the 5. If they're frozen, I can't make the shot any other way on tight pockets. So then I'd suck it up and shoot the bank on the 6, which is pretty easy for a bank shot.
If either ball (CB or 5) is off the rail by even 1/8" or so, I'll shoot this with enough draw to get back up above the side pockets, making for a very makeable cut on the 6, and the CB should be at least two inches off the rail to allow me more options for position on the 7. The key is just to concentrate on hitting the 5 into the far pocket facing. Just concentrate on that, and take what you get on the 6.
-Andrew