bring someone to book vs mete out punishment to

bring someone to book

mete out punishment to

How often have the words bring someone to book and mete out punishment to occurred in a corpus of books? (source: Google Ngram Viewer )