The mining ban can be prevented by the government itself in my opinion because if they go for renewable energy and promote it more, I believe it will make them energy and environment efficient to a certain extent. But obviously as many here said governments are kind of against Bitcoins or cryptocurrencies so they will for sure go against them as in miners and the industry. The environmentalists who are against Bitcoin can be tough for the industry and they can act as a catalyst as well for this controversial topic.