patch something up vs put to rights

patch something up

put to rights

How often have the words patch something up and put to rights occurred in a corpus of books? (source: Google Ngram Viewer )