I understand you're seeing a notification about your iPhone camera not being a genuine part. It's concerning, especially since your phone is less than a year old and worked fine until the camera freeze yesterday. While a restart fixed it temporarily, the notification remains even after updating to iOS 17.
There are a few troubleshooting steps we can try. Restarting your phone again and force closing the Camera app might clear up any software glitches. However, considering the notification appeared after the freeze, a hardware issue is also a possibility. To get the most accurate diagnosis and solution, it's best to contact Apple Support. They can offer specific troubleshooting steps for your iPhone model and potentially replace the camera module if it's a hardware fault (likely covered under warranty). You can reach Apple Support through their website or schedule an appointment at an Apple Store. By working with Apple, you should be able to resolve the camera notification and get your iPhone's camera app back to normal.