Casting an address to string Solidity 8.0

You can use our Strings library like this:

Strings.toHexString(uint256(uint160(msg.sender)), 20);