Changed fieldname parameter to const in readFieldInto

(cherry picked from commit 8e26de6bd937b842d917e56585e842b8d45174de)