That's it - you fire him and Biden puts in somebody like McCabe.
Wray can be dealt with later, if the courts rule in Trump's favor.
Makes no difference if Trump fires him. Biden will and put his own lackey in Wray’s place.