cave-in vs giving way

cave-in

giving way

How often have the words cave-in and giving way occurred in a corpus of books? (source: Google Ngram Viewer )