in the event of any third-party claim that the app or your possession and use of the app infringes that third party 's intellectual property rights , niantic will be solely responsible for the investigation , defense , settlement , and discharge of any such intellectual property infringement claim to the extent required by these terms .