The message will eventually go away, but you can't stop the message. Understand the speed part, but when you let a 3rd party replace parts on your iPhone, they don't have access to authentic parts and Apple can and often will refuse to provide support to a device which has non-authentic parts installed and certain features, such as FaceID and True Tone often no longer work on devices with 3rd party parts.