The circled part is the relay. In the second picture to the right of the circle is the fuse. You just need a new relay harness.
IMO your ecu and wires are safe. You are using the battery as the source ofpower and not the angel eye wires. Could be wrong though.
Mods: Charcoal Filter Delete, K&N Drop-in, Air Scoops, HID Angel Eyes, OEM Style Splitters, M3 Lip Spoiler, Gloss Black Kidney Grills, Escort Redline, Cheetah C50, Blackvue DR500-GW, M-Tech rear, BMW Performance Exhaust