rat someone out vs sell someone down the river

rat someone out

sell someone down the river

How often have the words rat someone out and sell someone down the river occurred in a corpus of books? (source: Google Ngram Viewer )