This Democracy Docket article quotes Lauren Miller Karalunas, who co-wrote a detailed white paper on this topic earlier this year for the Stanford Law & Policy Review. This white paper is free to read - see the PDF link in the post below. It offers a well-researched deep dive into specifics, including immediately-applicable remedies to the prospect of individual local election officials refusing to certify results.