Of course evidence of any form of modification can be used to avoid payout in case of a warranty claim. However it can be argued that this should be confined to the related areas. We are always at the mercy of the warrantor.
In this case, you can remove it before sending it for service, but telltale recordings will appear in the engine diagnostics. You can try to erase it but the records will still be in the un-eraseable engine ECU shadow memory.