amend: updated dp2fetchandput.added checks for prefix

Change-Id: If5c7cdc1afba0d98d61c03962fe5d31aac6ce3a9