make an affidavit vs pledge oneself

make an affidavit

pledge oneself

How often have the words make an affidavit and pledge oneself occurred in a corpus of books? (source: Google Ngram Viewer )