A photo sharing startup founded by an ex-Google engineer found a clever way to turn Google’s tech against itself.0