Workaround 1.54.0 build bug, upstream #9156 Workaround 1.51.0+ human bug, upstream #7262 This commit also demonstrates a method to verify the integrity of inputs.