act as a witness vs give an affidavit

act as a witness

give an affidavit

How often have the words act as a witness and give an affidavit occurred in a corpus of books? (source: Google Ngram Viewer )