DeletedUser244
No way of answering this question, said exploit is not described, no way to really give advice on a hypothetical.
Its like asking, "what should you do if you start dying?"
If the exploit only attacks the operating system without infecting the bootloader/signature verification of the pixel device, then a factory reset would mostly likely be fine. Assuming attestation passes