bitcoin-cli createrawtransaction and purpose of "scriptPubKey"?
Currently, the create raw transaction method only uses the txid and vout parameters from that argument. You can view the relevant part of the source here.
For all practical purposes, you could pass in 00 for the scriptPubKey and still get the same result.