Important factor is number of mutations. If vaccines cut the number of infections in half, it would be twice less mutations so two times less to generate a beneficial mutation. More we are able to cut down transmission, less possibility there is for mutations to occur.