The results mark the first late-stage success for an oral antiviral used to prevent COVID-19 after exposure.