‘Ear’, ‘Body’, or Both? – (Psalm 40:6, Hebrews 10:5)

Hebrews 10:5 references Psalm 40:6 – however, instead of saying ‘ear’ as the Psalm does, Hebrews says ‘body’.

Here the two verses are reconciled and explained in context;