Sorry to hear that, but I'm not surprised...That is how it usually plays out.
For the bathroom ceiling, this is normally a problem issue due to the ceiling fan and recessed lighting.
A band-aid solution would be the cheapest.
You can apply MLV/psa, Green Glue and 5/8" drywall...just keep in mind that even then you will Not achieve the full value of the material because of the ceiling fan...not to mention dealing with the pipe. This reduction would be minor at best.
Now if you want to gut the ceiling completely and address the pipe, line the vent duct, fill the cavity decouple the vent fan and add the barrier you would achieve a far better result.
or just run the vent fan all the time..
