Taking lens off causing boot loop to raspberry pi

I’m having a bit of a weird issue. I’m assuming I broke something but I came here to see if anyone could help anyway. I have a 64mp Hawkeye camera and I wanted to replace the original lens with a bigger one that can zoom further away. I used a heat gun to loosen the glue and the lens came right off. After putting the new lens on I attempted to start the raspberry pi but it was stuck in a boot loop. Same issue with the zoom lens off. That’s when I noticed the original lens had two pins on the edge and saw that they attach to pads on the chip of the camera itself. Once I put the original lens back on, the raspberry pi would boot up perfectly fine but now the camera doesn’t work. Any help would be appreciated thank you.