be an antidote to vs compensate for

be an antidote to

compensate for

How often have the words be an antidote to and compensate for occurred in a corpus of books? (source: Google Ngram Viewer )