I couldn't track down the first source, but the second source goes over something completely different. Maybe Claude accurately remembered the first source when it was stolen during the training process, but forgive me if I'm skeptical. Feel free to track it down yourself and let me know. Otherwise, I will assume it is an LLM hallucination.
(Also, given my background knowledge of the Tang dynasty, I would be surprised if the average marriage age was as high as 18!)