What is this part

I just ran over something in the road and heard a clanging noise afterwards. Pulled over and this piece is dangling and dragging but I'm not sure what it is. First picture is from the back of my car. Second picture is from the side looking towards the back. Hyundai Santa Fe, I think a 2018. The car seemed to still be driving fine as I was finding a place to pull over. I'm sorry the pictures aren't great, I don't have a good flashlight and am relying on my phone flash. Thank you!