Since arbitrary levels of proxies do not occur, this commit replaces the `while` loop in SerializableTypeWrapper.unwrap() with a simple `if` statement. Closes gh-23415
Since arbitrary levels of proxies do not occur, this commit replaces the `while` loop in SerializableTypeWrapper.unwrap() with a simple `if` statement. Closes gh-23415