attach to vs be a component

attach to

be a component

How often have the words attach to and be a component occurred in a corpus of books? (source: Google Ngram Viewer )