Well I put it up on jack stands and ran it and I hear the passenger rear brake or bearing is rubbing so I'm going to pull the wheel off and check it out. I don't think the rear brake is causing the noise. The whine has a clicking sound to it at slower speeds but doesn't sound like a bad CV joint. I'm so new to Subaru's that I really don't know much about them yet.
The rear bearing bolts on with 4 bolts. When you replace it, you want to brake the axle nut loose while the wheel is on the ground with the park brake set to help keep it from turning. Then, remove all the brakes, including the rotor, remove the axle nut, knock the axle loose from the hub with a punch and hammer, (never hit the threaded portion of the axle, you will compress the threads), then remove the bolts that hold the assembly onto the spindle. Depending on the amount of rust, you may want to spray all the bolts/nuts with PB Blaster a day before you disassemble everything to help dissolve the rust.
When you reassemble everything, use a small amount of loctite on the hub bolts and caliper bracket bolts. Tighten the axle nut as much as you can before installing the wheel then torque it with the wheel on the ground.
Aftermarket hub assemblies work well plus you get a better warranty than with the dealer parts.