Fix the floorboards (and joists if some numpty has cut half way through them to fit pipes) with a combination of screws, polyurethane glue and new pieces so that when you (lightly) jump up and down on it, it feels solid, no squeaks.
Ply is then redundant and in fact, is a bit old fashioned now...