Remove unnecessary arguments to new ScriptC API.

Bug: 16031597
Change-Id: I7c6257587330c856e506bdf09520bc4e216d3322
(cherry picked from commit b5effa220a1e983dbac7f01f1ad2ccf2c8bdbd46)
Merge "Remove unnecessary arguments to new ScriptC API."