The 472 are clearly 4K7 resistors to limit current to 1mA, for each of the LEDs. But I have no idea with the "5" item is, it makes no sense in conjunction with an LED. Can you get a better angle that shows how the traces from "5" component go towards the LED. Right now the LED is blocking them.Trying to replace this part but struggling to figure out what it is? I thought it was a 5 ohm resistor but now am starting to thinking it might be a diode. Any help is appreciated.
View attachment 342672

This is a fantastic picture. Can you enlarge it slighly on left and right so we can see where a few more traces go. In looking at this, you will notice that the "5" item has a thicker trace going to the 472 resistor to LED- which likely means power is coming through the "5" item. That power-trace from the "5" item also goes to something off the right edge of your picture that also might help us figure out what it is.One more image