I hate to sound argumentative, but the idea of "bad gas" is basically an old wives tale. If you buy fuel from any reputable retailer, you will almost definitely go your entire life without ever encountering a batch of "bad gas". I'm sure there's someone on this forum who's received poor quality gas, but I'm also sure there's someone on this board who's won the lottery. That doesn't mean I'm going to run out and buy a ticket. On the wildly off chance that it happens, reputable gas stations have insurance policies to protect against this. Kind of like you have insurance in case you damage someone's car. However, that is not really the point.
Detonation, or premature combustion (insert pun here), is caused by one thing...combustion chamber temperature exceeding the flash point of the air/fuel mixture before spark is introduced. If you notice detonation (and I would venture a guess that the vast majority of people wouldn't know the sound) in your 7MGE, it is most likely caused by a timing issue. If you're purposely running crazy timing, higher octane fuel might be needed. Another possible cause of detonation is a burr somewhere in the combustion chamber. This, however, would likely only present itself in a new engine that wasn't prepped properly.
Are you doing any damage if you use fuel with an octane rating higher that what is required? Absolutely not. You're just feeding extra profit to an extremely greedy industry that preys on ignorance.