tbh i think you'll be fine the tax office will investigate your the innocent party if the companies not been paying the tax/N.I but deducting it and writing fake p60s the tax man will nail them to the wall ive seen it done before and its fraud and carries a prison sentance
just be open with the tax man and explain what u thinks happened