You probably have a half-switched receptacle. The image showing the Red & Black side isn't clear, but it looks like it may have a broken tab.
If you can safely figure out which wire (red or black) is hot and which is switched hot, you can cap the switched one with a wire nut and connect the other to your receptacle. Taping or leaving a note would be good to help yourself later or the next owner figure out why the light switch appears to do nothing.
On the ground (green) wire, it should be connected to the box via a screw and not just wound around the box. The receptacle should have a similar ground wire there too - when metal boxes are used, they must be connected to ground.
Disclaimer 1: If this sounds difficult, you may want to get a professional to help replace this receptacle. Some jurisdictions don't allow anyone except licensed professionals do electrical work, and messing with this if you're not comfortable can cause property damage or kill you.
Disclaimer 2: There are various reasons why replacing a receptacle with USB variants is a bad idea. First, many of these you can buy off the Internet are cheap junk that originates overseas. These are not safe to use and are likely to burn out (hopefully safely) and stop working. Second, USB charging standards move pretty quickly and what works well today will be obsolete in a year or two. USB-C is a current standard for charging, but cables and chargers are constantly updating wattage to support newer quickcharge standards. Swapping out a charger brick is simple. Swapping out a receptacle is less simple.
Related article re: switched receptacles
Related article re: USB receptacle
Related article re: USB part of receptacle dying