do penance vs pay one’s dues

do penance

pay one’s dues

How often have the words do penance and pay one’s dues occurred in a corpus of books? (source: Google Ngram Viewer )