If you are bankrupt you would be put on a NIL tax code. In effect you do not pay tax from your wages, but you do have to pay the equivalent of this amount to the Official Receiver, you do not get to keep it.
In an IVA it only applies to self employed people. The tax you would have paid has to be paid into the IVA instead of the IR.