act as an informer vs rat (on)

act as an informer

rat (on)

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