detained at Her Majesty's pleasure vs doing bird

detained at Her Majesty's pleasure

doing bird

How often have the words detained at Her Majesty's pleasure and doing bird occurred in a corpus of books? (source: Google Ngram Viewer )