I added both sets of code into Snippets, hit “apply”, cleared my cache, and looked at the page. Nothing changed. The urls of the logo and the sticky header did not go to the url I replaced google.com with.
I also re-enabled Primary Navigation. The mobile became no longer sticky, and tablet and desktop remained unsticky. When I disabled the Primary Nav again, the mobile sticky showed.