rooting out vs rubbing out

rooting out

rubbing out

How often have the words rooting out and rubbing out occurred in a corpus of books? (source: Google Ngram Viewer )