LED control unit on headlamp probably especially if both failed together.
.
You need to be *really* careful if using used parts here. Part of installing a new part is to code the control unit to the headlight which you scan the barcode on the headlight which tells the control unit how much power/voltage/current needs to be sent to the 4 different channels it supports. Get this wrong and you blow up the LEDs in the headlamp because the are fed too much power. The same part number control unit is used on multiple lights. If you use a used unit, it can send the wrong power down and blow up your light when you plug it in - some couldn't be recoded also.. - You also have to remove the headlight to get to the control unit, which means removing the bumper.
Ie. use a new LED controller, and you need someone with online Xentry diagnosis to do startup/coding before its all re-assembled or they can't get to the barcode any more!
Cheers
Richard