I think that an IP address in and of itself is insufficient to establish guilt as it is the address of the computer, which anyone might have used for that search of KM.
I do agree with the justices though, that anyone using Google for anything should have zero expectation of privacy. Had they wanted privacy, Tor browser might have been a better, more informed choice.
I'll also go so far as to say that the principle of justices negating any part of the Bill of Rights truly chafes.