A makeshift cap might work on the inside of that flange as well. Do keep in mind though, on the fronts the end of the axle is what it is. A caliper helps immensely, to measure the inside and outside diameter. Too, google something like: black rubber end caps round
The original 17” wheels only come with hubcaps, and no center caps, right? Does Toyota consider that protection enough?