do someone out of something vs prevent from having

do someone out of something

prevent from having

How often have the words do someone out of something and prevent from having occurred in a corpus of books? (source: Google Ngram Viewer )