EDR intentionally does not support contract deployment from Solidity and scripting cheatcodes in general. The strategy is that Hardhat users should leverage JS/TS integration tests instead, or the vm.etch cheatcode can be used to address some use cases.
Write a migration guide to help users migrate Solidity tests leveraging the cheatcodes to JS/TS integrations tests.
For example OpenZeppeloin contract test AccountEIP7702.t.sol