act as an informer vs rat someone out

act as an informer

rat someone out

How often have the words act as an informer and rat someone out occurred in a corpus of books? (source: Google Ngram Viewer )