LPS-37901 MergeLayoutPrototypesThreadLocal builds wrong method key