LPS-39749 Optimize MergeLayoutPrototypesThreadLocal key generation
LPS-39749 SF