give fair warning to vs put someone on notice

give fair warning to

put someone on notice

How often have the words give fair warning to and put someone on notice occurred in a corpus of books? (source: Google Ngram Viewer )