Hi Team,
Our customer checked the lead frame of LM317DCYR and then they found that they have different shaped lead frame as below. Please check the marking of these package and let us know if both lead frames are certified as TI part. Please send private message if it should be discussed off line.

Best Regards,
Satoshi / Disty in Japan