This Fits Your 2021 BMW M3 Sedan
Full size assembly image of Control unit ultrasonic sensor (1/2)

Control unit ultrasonic sensor