act as a witness vs attest to

act as a witness

attest to

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