This is in theory good for everyone. With China using rare earths as a means to control the market as well as exploiting myanmar to mine them, finding a reliable secondary source was vital for national security.
Now whether or not Brazil decides to raze the rainforest to fulfill the orders remains to be seen.