A search warrant of Google searches led to charges in a Denver fire. Is that legal?

Three people who reportedly searched the address of a home they are accused of setting on fire were charged in part because a “keyword warrant” of Google data confirmed that allegation. A lawyer for one defendant wants a court to rule on its constitutionality.